.page__header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  line-height: 80px;
  z-index: 10;
  border-bottom: 1px solid #fff;

  .page__header__wrapper {
    overflow: hidden; // 子元素均浮动后会脱离文档流,父元素会高度则会塌陷,所以需要清除浮动
    box-sizing: border-box;

    .logo {
      float: left;
      width: 15%;
      height: 60px;

      img {
        max-width: 100%;
        width: 100%;
        object-fit: contain; // 图片不变形,让图片完整显示
      }
    }

    ul.navigation {
      float: right; // 元素向右浮动
      list-style: none; // 去除列表样式
      width: 55%;
      text-align: right;
      display: flex;
      justify-content: space-between;
      margin-bottom: 0;
      box-sizing: border-box;
      height: inherit;
      line-height: inherit;

      li {
        position: relative;

        a {
          color: #fff;
          text-decoration: none;
          font-size: calc(1rem + 0.1vw)
        }

        &::after {
          position: absolute;
          content: '';
          display: block;
          width: 0;
          height: 5px;
          background-color: #fff;
          position: absolute;
          bottom: 0;
          left: 0;
          transition: all 0.3s ease-in-out;
        }

        &.active,
        &:hover {
          &::after {
            width: 100%;
          }
        }
      }
    }

    .pe-button {
      width: 34px;
      height: 34px;
      display: none;
      cursor: pointer;

      span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #fff;
        margin: 10px auto;
        transition: all 0.3s;
      }

      &.active span:nth-child(1) {
        transform: translateY(12px) rotate(42deg);
      }

      &.active span:nth-child(2) {
        opacity: 0;
      }

      &.active span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
      }
    }

  }

  @media (max-width:992px) {
    .page__header__wrapper {
      .logo {
        width: 20%;
        height: 100%;
      }

      ul.navigation {
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 81px;
        right: 0;
        padding: 0;
        z-index: 99;
        background-color: #fff;
        padding: 20px;
        transition: all .3s cubic-bezier(0.075, 0.82, 0.165, 1);
        left: -100%;

        li {
          height: auto;
          line-height: normal;
          margin-bottom: 1.6rem;

          a {
            color: #000;
          }

          &::after {
            display: none;
          }
        }


      }

      .pe-button {
        position: absolute;
        right: 20px;
        display: block;
        top: 50%;
        transform: translateY(-50%);
      }
    }

    &.open {
      background-color: #fff;

      .pe-button {
        span {
          background-color: #000;
        }
      }

      .page__header__wrapper {
        border-bottom: 1px solid #00000077;

        ul.navigation {
          left: 0;
          box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
        }
      }
    }
  }
}

.index_page_swiper {
  width: 100%;
  max-height: 80vh;

  .index_page_swiper_wrapper {
    height: auto;
    max-height: inherit;
  }

  .swiper-slide,
  .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;

    .animate__box {
      position: absolute;
      // top: 50%;
      // transform: translateY(-50%);
      left: 15%;
      color: #fff;
      line-height: 60px;
      font-size: calc(1.6rem + 0.1vw); // 动态计算字体大小
      transition: all .3s ease-in-out;

      &.animate__fadein_up {
        // 动画效果
        animation: fadeInUp 1s ease-in-out;
      }

      &.none {
        opacity: 0;
      }

      // 定义关键帧动画
      @keyframes fadeInUp {

        0% {
          opacity: 0;
          top: 50%;
        }

        100% {
          opacity: 1;
          top: 50%;
          transform: translateY(-50%);
        }
      }

      p {
        letter-spacing: 0.4rem;
      }

      a {
        color: #fff;
        text-decoration: none;
        font-size: 1.5rem;
        border: 1px solid #fff;
        padding: 10px 20px;
        border-radius: 0.2rem;
        transition: all 0.3s ease-in-out;

        &:hover {
          background-color: #fff;
          color: #000;
          border-radius: 0.4rem;
        }
      }
    }

  }

  .swiper-pagination {
    .swiper-pagination-bullet {
      width: 16px;
      display: inline-block;
      height: 16px;
      background-color: transparent;
      border: 2px solid #fff;
    }

    .swiper-pagination-bullet-active {
      background-color: #fff;
    }
  }

  @media (max-width: 992px) {
    .index_page_swiper_wrapper {
      min-height: 300px;
    }

    .swiper-slide img {
      height: 100%;
    }

    .index_page_swiper_wrapper {
      height: 100%;
      max-height: inherit;
    }

    .swiper-slide {
      .animate__box {
        left: 10%;
        top: 100px;
        font-size: calc(1.3rem + 0.1vw);
        line-height: 40px;

        p {
          letter-spacing: normal;
        }

        a {
          font-size: 1rem;
          padding: 4px 8px;
        }

        &.animate__fadein_up {
          animation: unset;
        }
      }
    }
  }

  @media (max-width: 568px) {
    .swiper-slide {
      .animate__box {
        font-size: calc(1.3rem + 0.1vw);

        &.animate__fadein_up {
          animation: unset;
        }
      }
    }
  }
}


// ************
// 核心业务
// ************
.core_work {
  background-color: #f4f7fe;

  .core_wrapper {
    margin-top: 3rem;

    .item {
      p.mx-auto {
        max-width: 90%;
      }

      a.more {
        width: fit-content;
        border: 1px solid #c3c6ce;
        color: #d4d6df;

        &:hover {
          background-color: #7f9bfe;
          color: #fff;
          border-color: transparent;
        }
      }
    }
  }
}

// ************
// 产业生态圈
// ************
.prod_circle {
  .core_wrapper {
    position: relative;
    height: 400px;
    margin-top: 4rem;

    .center-dash-center {
      position: absolute;
      height: 400px;
      border-radius: 14px;
      border: 3px dashed #929292;
      width: 80%;
      left: 50%;
      transform: translateX(-50%);
      z-index: 2;
    }

    .wrapper_fitem {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      left: 5%;
      height: 70%;
      width: 90%;
      z-index: 3;
      
      >div {
        position: relative;

        &::after {
          content: " ";
          background: url(/static/images/arright.png) no-repeat;
          background-size: 100% 100%;
          width: 60px;
          height: 60px;
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          right: -70px;
        }
        

        @media (max-width:992px) {
          margin-bottom: 120px !important;

          &::after{
            right: 50%;
            transform: translateX(50%) rotate(90deg);
            bottom: 0;
            margin-top:100px;
          }
        }

        &:last-child::after {
          display: none;
        }
      }

      .item {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        img {
          width: 50%;
          margin-bottom: 20px;
          object-fit: cover;
          max-width: 80px;
        }

        &::after {
          content: '';
          position: absolute;
          top: 0px;
          left: 0px;
          width: 100%;
          height: 100%;
          // 拟态模糊玻璃背景
          backdrop-filter: blur(150px);
          z-index: -1;
          border-radius: 12px;
        }

        &::before {
          content: '';
          position: absolute;
          top: -26px;
          left: -26px;
          width: 100%;
          height: 100%;
          background: linear-gradient(90deg, #819efd, #cdd8f6);
          z-index: -1;
          border-radius: 12px;

        }
      }
    }
  }

  @media (max-width:992px) {
    .core_wrapper {
      height: auto;

      .center-dash-center {
        height: 100%;
        z-index: 1;
        width: 100%;
      }

      .wrapper_fitem {
        margin: 0 auto;
        position: relative;
        transform: unset;
        width: 90%;
        left: 0;
        top: 60px;


      }
    }
  }
}


// ************
// 培养方向
// ************
.prod_direct {
  background-color: #f4f7fe;

  .core_wrapper {
    margin-top: 3rem;

    .item {
      img {
        width: 100%;
        height: auto;
        object-fit: cover;
        max-width: 160px;
      }
    }

    .lookmore {
      color: #98a5ce;
      width: fit-content;
      transition: box-shadow 0.3s ease-in-out;

      &:hover {
        box-shadow: 0 0 10px 0 #d5defb;
      }
    }
  }
}

// ************
// 数字滚动记录
// ************

.num_his {
  height: 800px;
  background: url('http://qiniu.picgo.srliforever.ltd/ddde08c7fc9e83767deda76f4e5a64f1_3138206301741634501.webp') no-repeat center;
  background-size: cover;
  background-attachment: fixed;
  color: #fff;

  .item {
    font-size: 3.4rem;
    margin-right: 3.2rem;
    text-align: center;

    .sup {
      font-size: 0.4em;
      margin-left: 0.5em;
      vertical-align: top;
    }

    div {
      font-size: 0.4em;
      margin-top: 2em;
    }

    &:last-child {
      margin-right: 0;
    }
  }

  @media (max-width:992px) {
    font-size: 1.3rem;
    .d-flex{
      flex-wrap: wrap;
    }
    .item {
      width: 50%;
      margin-right: 0;
    }

  }
}


// ***********
// 最新动态
// ***********
.activity {
  overflow: hidden;
  .core_wrapper {
    position: relative;
    .bg_popu {
      padding: 80px 0;
      width: 90%;
      margin: 0 auto;
      height: 460px;
      background-color: rgb(132, 161, 253);
      border-radius: 10px;
      box-shadow: 0 0 10px rgba($color: #829ffd, $alpha: 1.0);
      @media (max-width:992px) {
        height: auto;
        width: 100%;
      }
    }
    .center_container {
      position: absolute;
      width: 100%;
      left: 50%;
      transform: translateX(-50%);
      @media (max-width:992px) {
        position: static; // unset
        transform: unset;
        width: 90%;
        margin: 0 auto;
        .col-12 img {
          max-width: 380px;
          display: block;
          margin: 0 auto;
        }
      }
      .more_btnm {
        margin: 30px auto;
        background-color: #fff;
        width: max-content;
        text-align: center;
        padding: 10px 40px;
        border-radius: 30px;
        color: #7f9bfe;
        display: block;
        border: none;
      }
    }
  }
}


// ***********
// 合作共赢
// ***********
.coop {
  .col .p-2 {
    border: 2px solid #cecece;
    text-align: center;
    cursor: pointer;
  }
}

.num_his,
.prod_direct,
.activity,
.coop,
.core_work,
.prod_circle {
  padding: 3rem 0;
}
